#ifndef __CRC_CALCULATE_H__
#define __CRC_CALCULATE_H__
#include <typescommon.h>

uint8_t calcXorCrc8(const uint8_t *inbuffer, int insize);
uint8_t calcSumCrc8(const uint8_t *inbuffer, int insize);
uint16_t calcSumCrc16(const uint8_t *inbuffer, int insize);

uint8_t calcHashCrc8(const uint8_t *ptr, int len);
uint16_t calcHashCrc16(const uint8_t *ptr, int length);
uint32_t calcHashCrc32(const uint8_t *buf, int size);
#endif
